package com.ruoyi.project.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.mapper.YqgTechnicianClockTableMapper;
import com.ruoyi.project.domain.YqgTechnicianClockTable;
import com.ruoyi.project.service.IYqgTechnicianClockTableService;

/**
 * 技师上钟情况Service业务层处理
 * 
 * @author dr
 * @date 2023-05-29
 */
@Service
public class YqgTechnicianClockTableServiceImpl implements IYqgTechnicianClockTableService 
{
    @Autowired
    private YqgTechnicianClockTableMapper yqgTechnicianClockTableMapper;

    /**
     * 查询技师上钟情况
     * 
     * @param id 技师上钟情况主键
     * @return 技师上钟情况
     */
    @Override
    public YqgTechnicianClockTable selectYqgTechnicianClockTableById(Long id)
    {
        return yqgTechnicianClockTableMapper.selectYqgTechnicianClockTableById(id);
    }

    /**
     * 查询技师上钟情况列表
     * 
     * @param yqgTechnicianClockTable 技师上钟情况
     * @return 技师上钟情况
     */
    @Override
    public List<YqgTechnicianClockTable> selectYqgTechnicianClockTableList(YqgTechnicianClockTable yqgTechnicianClockTable)
    {
        return yqgTechnicianClockTableMapper.selectYqgTechnicianClockTableList(yqgTechnicianClockTable);
    }

    /**
     * 新增技师上钟情况
     * 
     * @param yqgTechnicianClockTable 技师上钟情况
     * @return 结果
     */
    @Override
    public int insertYqgTechnicianClockTable(YqgTechnicianClockTable yqgTechnicianClockTable)
    {
        return yqgTechnicianClockTableMapper.insertYqgTechnicianClockTable(yqgTechnicianClockTable);
    }

    /**
     * 修改技师上钟情况
     * 
     * @param yqgTechnicianClockTable 技师上钟情况
     * @return 结果
     */
    @Override
    public int updateYqgTechnicianClockTable(YqgTechnicianClockTable yqgTechnicianClockTable)
    {
        return yqgTechnicianClockTableMapper.updateYqgTechnicianClockTable(yqgTechnicianClockTable);
    }

    /**
     * 批量删除技师上钟情况
     * 
     * @param ids 需要删除的技师上钟情况主键
     * @return 结果
     */
    @Override
    public int deleteYqgTechnicianClockTableByIds(Long[] ids)
    {
        return yqgTechnicianClockTableMapper.deleteYqgTechnicianClockTableByIds(ids);
    }

    /**
     * 删除技师上钟情况信息
     * 
     * @param id 技师上钟情况主键
     * @return 结果
     */
    @Override
    public int deleteYqgTechnicianClockTableById(Long id)
    {
        return yqgTechnicianClockTableMapper.deleteYqgTechnicianClockTableById(id);
    }
}
